<?php

function __autoload($class_name) {
	require_once $class_name . '.php';
}

/*function dump($var)
{
	var_dump($var);
	echo "<br />";
}*/

$a = new A();
$b = new B();
$var = Mock::createMock("C");

$var->method($b,"cat");
Mock::mockRule($var,"method",MOCK_EQUALS,0);

$a->c = $var;

Mock::mockReplay($var);

$a->dostuff(new B());

Mock::mockVerify($var);



?>